package com.pdh.file.common;

/**
 * @Author: 彭_德华
 * @Date: 2021-10-14 15:25
 */
public enum ErrorCode {
    PARAMS_NULL(10002,"参数为空"),
    UPLOAD_FAIL(20001,"上传失败")
    ;

    private int code;
    private String msg;

    ErrorCode(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
